all: library
	mkdir -p ../bin; mv *.o ../bin/

%.o: %.cc
	g++ -c -O2 -Wall -Wextra -pedantic $<

library-objects = \
	BigUnsigned.o \
	BigInteger.o \
	BigIntegerAlgorithms.o \
	BigUnsignedInABase.o \
	BigIntegerUtils.o\

library-headers = \
	NumberlikeArray.hh \
	BigUnsigned.hh \
	BigInteger.hh \
	BigIntegerAlgorithms.hh \
	BigUnsignedInABase.hh \
	BigIntegerLibrary.hh \

library: $(library-objects)

$(library-objects): $(library-headers)

clean:
	cd ../bin/;rm $(library-objects)
